QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    ada_parm_data_set.cpp \
    adaptor_parm.cpp \
    can_rx.cpp \
    func_widget.cpp \
    main.cpp \
    mainwindow.cpp \
    my_checkbox.cpp \
    my_lineedit.cpp \
    operate_parm.cpp \
    power_response.cpp \
    pump_operate_upload.cpp \
    udp_thread.cpp \
    user_textedit.cpp

HEADERS += \
    ECanVci.h \
    ada_parm_data_set.h \
    adaptor_parm.h \
    can_rx.h \
    func_widget.h \
    main.h \
    mainwindow.h \
    my_checkbox.h \
    my_lineedit.h \
    operate_parm.h \
    power_response.h \
    pump_operate_upload.h \
    udp_thread.h \
    user_textedit.h


//QMAKE_CFLAGS += -finput-charset=GBK -O0
//QMAKE_CXXFLAGS += -finput-charset=GBK -O0
QMAKE_LFLAGS_WINDOWS += -Wl,--stack,32000000
QMAKE_LFLAGS_WINDOWS += -Wl,--heap,32000000
QMAKE_CFLAGS_RELEASE += -O0 -g
QMAKE_CXXFLAGS_RELEASE += -O0 -g

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

LIBS += -lws2_32


INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/.
